/*
 * Copyright 2010 Nicholas Alexander Cross
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 	http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.intellij.lang.plist.fileTypes;

import com.intellij.openapi.editor.HighlighterColors;
import com.intellij.openapi.editor.SyntaxHighlighterColors;
import com.intellij.openapi.editor.colors.TextAttributesKey;
import com.intellij.openapi.editor.markup.TextAttributes;

import java.awt.*;

public interface PListHighlighterColours {
    public TextAttributesKey BAD_CHARACTER = HighlighterColors.BAD_CHARACTER;

    public TextAttributesKey COMMENT = TextAttributesKey.createTextAttributesKey(
            "PLIST.COMMENT", SyntaxHighlighterColors.JAVA_BLOCK_COMMENT.getDefaultAttributes()
    );

    TextAttributesKey DICTIONARY = TextAttributesKey.createTextAttributesKey(
            "PLIST.DICTIONARY",
            new TextAttributes(
                    new Color(0, 0x80, 0),
                    new Color(0xed, 0xff, 0xed),
                    null,
                    null,
                    Font.BOLD
            )
    );

    TextAttributesKey ARRAY = TextAttributesKey.createTextAttributesKey(
            "PLIST.DICTIONARY",
            new TextAttributes(
                    new Color(0, 0x80, 0),
                    new Color(0xed, 0xff, 0xed),
                    null,
                    null,
                    Font.BOLD
            )
    );

    TextAttributesKey STRING = TextAttributesKey.createTextAttributesKey(
            "PLIST.STRING", SyntaxHighlighterColors.STRING.getDefaultAttributes()
    );
}
